<?php

// +----------------------------------------------------------------------
// | EasyAdmin
// +----------------------------------------------------------------------
// | PHP交流群: 763822524
// +----------------------------------------------------------------------
// | 开源协议  https://mit-license.org 
// +----------------------------------------------------------------------
// | github开源项目：https://github.com/zhongshaofa/EasyAdmin
// +----------------------------------------------------------------------

namespace app\model\api;


use laytp\BaseModel;

class PeaceAuthor extends BaseModel
{

    protected $deleteTime = 'delete_time';


    /**
     * 作者列表
     * @return mixed
     */
    public function getAuthor(){
        $list = $this->order('id desc')
            ->column('author_name,author_head,role_type,icon','id');

        return $list;
    }
}